#ifndef FINDSTUDYWIDGET_H
#define FINDSTUDYWIDGET_H

#include <QWidget>

namespace Ui {
class FindStudyWidget;
}

class FindStudyWidget : public QWidget
{
    Q_OBJECT

public:
    explicit FindStudyWidget(QWidget *parent = 0);
    ~FindStudyWidget();

    QDateTime getFromTime() const;
    QDateTime getToTime() const;
    QString getPatientId() const;
    QString getPatientName() const;
    QString getAccNum() const;
    QString getModality() const;

signals:
    void findStudy();

private slots:
    void on_todayBtn_clicked();
    void on_yesterdayBtn_clicked();
    void on_latestWeekBtn_clicked();
    void on_latestMonthBtn_clicked();
    void on_clearBtn_clicked();

private:
    Ui::FindStudyWidget *ui;
};

#endif // FINDSTUDYWIDGET_H
